<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  
  <title>Archives: 2018 | 程序小工  | Just do it!</title>
  <meta name="description" content="遇见更好的自己~" />
  <meta name="keywords" content="" />
  <meta name="HandheldFriendly" content="True" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <link rel="shortcut icon" href="/">
  <link rel="alternate" href="/atom.xml" title="程序小工  | Just do it!">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="遇见更好的自己~">
<meta property="og:type" content="website">
<meta property="og:title" content="程序小工  | Just do it!">
<meta property="og:url" content="http://blog.i2arch.tech/archives/2018/index.html">
<meta property="og:site_name" content="程序小工  | Just do it!">
<meta property="og:description" content="遇见更好的自己~">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="程序小工  | Just do it!">
<meta name="twitter:description" content="遇见更好的自己~">
    
  <link href="https://fonts.googleapis.com/css?family=Inconsolata|Titillium+Web" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
  <link href='//cdn.bootcss.com/node-waves/0.7.5/waves.min.css' rel='stylesheet'>
  <link rel="stylesheet" href="/style.css">
  <script>
    function setLoadingBarProgress(num) {
      document.getElementById('loading-bar').style.width=num+"%";
    }
  </script>
</head>

<body>
  <div id="loading-bar-wrapper">
  <div id="loading-bar"></div>
</div>


  <script>setLoadingBarProgress(20)</script>
  <header class="l_header">
	<div class='wrapper'>
		<div class="nav-main container container--flex">
			<a class="logo flat-box" href='/' >
				程序小工  | Just do it!
			</a>
			<div class='menu'>
				<ul class='h-list'>
					
						<li>
							<a class='flat-box nav-home' href='/'>
								<i class='icon icon-list2'></i>
								首页
							</a>
						</li>
					
						<li>
							<a class='flat-box nav-archives' href='/archives'>
								<i class='icon icon-bookmark'></i>
								归档
							</a>
						</li>
					
						<li>
							<a class='flat-box nav-about' href='/about'>
								<i class='icon icon-user'></i>
								关于
							</a>
						</li>
					
				</ul>
				<div class='underline'></div>
			</div>
			
				<div class="m_search">
					<form name="searchform" class="form u-search-form">
						<input type="text" class="input u-search-input" placeholder="Search" />
						<span class="icon icon-search"></span>
					</form>
				</div>
			
			<ul class='switcher h-list'>
				
					<li class='s-search'><a href='javascript:void(0)'><span class="icon icon-search flat-box"></span></a></li>
				
				<li class='s-menu'><a href='javascript:void(0)'><span class="icon icon-menu flat-box"></span></a></li>
			</ul>
		</div>

		<div class='nav-sub container container--flex'>
			<a class="logo" class="flat-box" href='javascript:void(0)'>
				Word of Forks
			</a>

			<ul class='switcher h-list'>
				<li class='s-comment'><a href='javascript:void(0)'><span class="icon icon-chat_bubble_outline flat-box"></span></a></li>
				<li class='s-top'><a href='javascript:void(0)'><span class="icon icon-arrow_upward flat-box"></span></a></li>
				<li class='s-toc'><a href='javascript:void(0)'><span class="icon icon-format_list_numbered flat-box"></span></a></li>
			</ul>
		</div>
	</div>
</header>
<aside class="menu-phone">
	<nav>
		
			<a href="/" class="nav-home nav">
				首页
			</a>
		
			<a href="/archives" class="nav-archives nav">
				归档
			</a>
		
			<a href="/about" class="nav-about nav">
				关于
			</a>
		
	</nav>
</aside>

    <script>setLoadingBarProgress(40);</script>
  <div class="l_body">
    <div class='container clearfix'>
      <!-- 左侧内容 -->
      <div class='l_main'>
        
	
  <script>
    window.subData= { title:'Year : 2018 + '}
  </script>


  <section class="post-list">
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/08/13/git-modify-commit-message/">
          【Git】修改已经提交的commit内容
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Git/">Git</a>
    </div>

          <time class="time">
            8月<br>
              13
              <!-- Aug 13, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>通过 Git 进行版本管理时，对于已经提交但没有 push 的 message 信息，发现提交信息填写错误后，如何进行修改？<br>
对于已经 push 的 message 信息如何修改？通过<code>git rebase -i</code>进行分支管理，以及重新操作已经提交的分支信息[reword,edit,squash 等]。此次用到的主要是<code>reword</code>修改已经提交的<code>message</code>信息。</p>

      
        <div class="readmore">
          <a href="/2018/08/13/git-modify-commit-message/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/git/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                git
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/08/08/js-react/">
          【React入门】实现todolist功能
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/React/">React</a>
    </div>

          <time class="time">
            8月<br>
              08
              <!-- Aug 8, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>作为一名 PHP 初级的程序员，目前尚且处于学习 PHP 业务逻辑实现到日常工作中的阶段，但是由于现在想要搭建一个满意的个人博客，并且尝试过很多 hexo 主题后总是会对主题的某些或某个部分不太满意，<br>
所以为了以后可以自己实现相应页面的开发，所以还是想着能够学点前端框架的知识，为以后成为全栈工程师做准备。目前比较流行的前端框架主要有<code>React.js</code>和<code>Vue.js</code>，因为当前公司使用的是<code>React.js</code>开发的，所以也选择<code>React</code>作为学习对象。</p>

      
        <div class="readmore">
          <a href="/2018/08/08/js-react/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/web/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                web
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/08/07/tp5-controller3/">
          【ThinkPHP5深入理解】控制器（三）-- 前置操作
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/PHP/">PHP</a>
    </div>

          <time class="time">
            8月<br>
              07
              <!-- Aug 7, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>[摘要]：</p>
<p>tp5 框架的前置操作可以用于对某些方法进行通用的预处理，比如登录状态的判断[session 处理]、用户权限的卡控[cache/session 的处理]，通过控制器的前置操作，将公用代码进行封装，简化了调用流程[直接设定前置关系即可实现前置方法的自动调用]。</p>

      
        <div class="readmore">
          <a href="/2018/08/07/tp5-controller3/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/thinkphp5/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                thinkphp5
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/31/docker-base/">
          【Docker】--入门使用
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Docker/">Docker</a>
    </div>

          <time class="time">
            7月<br>
              31
              <!-- Jul 31, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>在学习Docker的镜像源设置和安装配置后，开始学习Docker的基本使用，包括服务进程的管理，容器、镜像的基本使用和管理。</p>

      
        <div class="readmore">
          <a href="/2018/07/31/docker-base/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/docker/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                docker
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/31/docker-install/">
          【Docker】--安装与配置
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Docker/">Docker</a>
    </div>

          <time class="time">
            7月<br>
              31
              <!-- Jul 31, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>docker 是 linux 虚拟化技术，能够一键式搭建开发环境，并且能保证运维、开发、上线部署的环境完全一致，避免了运行环境差异性带来的问题。<br>
具有简单、轻量、快速、高效的特性。掌握 Docker 的安装和相关配置也是提升开发技能的重要途径。</p>

      
        <div class="readmore">
          <a href="/2018/07/31/docker-install/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/docker/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                docker
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/31/docker-mirrors/">
          【Docker】更新docker镜像源
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Docker/">Docker</a>
    </div>

          <time class="time">
            7月<br>
              31
              <!-- Jul 31, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>使用 docker 拉取 Docker Hub 上镜像时，可能会由于网络限制，导致下载失败。可以将 docker 的镜像源设置为国内的镜像，<br>
目前支持的镜像源有<a href="https://cr.console.aliyun.com/cn-hangzhou/mirrors" target="_blank" rel="noopener">阿里云</a>和<a href="https://www.docker-cn.com" target="_blank" rel="noopener">docker 中文站</a></p>

      
        <div class="readmore">
          <a href="/2018/07/31/docker-mirrors/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/镜像/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                镜像
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/31/linux-yum源/">
          【CentOS】更新yum软件源
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Linux/">Linux</a>
    </div>

          <time class="time">
            7月<br>
              31
              <!-- Jul 31, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>当使用 linux 安装包命令安装相关软件时，会提示<code>Connection timed out</code>,表示连接超时，即访问国外网址受限，可以切换软件源地址为国内的。</p>

      
        <div class="readmore">
          <a href="/2018/07/31/linux-yum源/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/镜像/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                镜像
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/30/python-base/">
          【Python】安装与配置
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Python/">Python</a>
    </div>

          <time class="time">
            7月<br>
              30
              <!-- Jul 30, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>作为学习数据分析的工具，前期准备。</p>

      
        <div class="readmore">
          <a href="/2018/07/30/python-base/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/python/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                python
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/30/linux-ssh/">
          【SSH】使用SSH登录远程主机，并禁用密码登录
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/Linux/">Linux</a>
    </div>

          <time class="time">
            7月<br>
              30
              <!-- Jul 30, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>对远程主机进行登录管理，一方面可以简化日常频繁登录的密码和 ip 输入步骤，另一方面，也可以提高远程主机的安全性，避免远程主机被“黑客”轻易攻击。<br>
也借此加强对 Linux 文件权限的认识和理解。</p>

      
        <div class="readmore">
          <a href="/2018/07/30/linux-ssh/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/ssh/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                ssh
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
      <div class='post-wrapper'>
        <article class="post reveal ">
  <section class="meta">
    
      <h2 class="title">
        <a href="/2018/07/11/php-practice-wx-tp5-3/">
          微信小程序结合ThinkPHP5实战项目（三）-- 微信登录与令牌
        </a>
      </h2>
      
        
    
    <div class='cats'>
        <i class="icon icon-bookmark"></i>
        <a href="/categories/PHP/">PHP</a>
    </div>

          <time class="time">
            7月<br>
              11
              <!-- Jul 11, 2018 -->
          </time>
  </section>
  <section class="article typo">
    <span class="zhaiyao">[摘要]</span>
    <p>ThinkPHP5 从入门到深入学习，结合实战项目深入理解 ThinkPHP5 的特性和使用方法。深入学习 api 开发，学习微信登录和令牌的相关知识，并理解微信登录流程，完成与微信开放 api 之间的数据交互，完善项目的相应功能。<br>
理解第三方登录授权的 code 和 token 交互过程。</p>

      
        <div class="readmore">
          <a href="/2018/07/11/php-practice-wx-tp5-3/">阅读全文 <i class="icon icon-next"></i></a>
        </div>
        
        
          <div class="full-width auto-padding tags">
            
              <a href="/tags/thinkphp5/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                thinkphp5
              </a>
              
              <a href="/tags/微信小程序/">
                <span>
                  <i class="icon icon-price-tags"></i>
                </span>
                微信小程序
              </a>
              
          </div>
          
  </section>
</article>

      </div>
    
  </section>


  <nav id="page-nav">
    
    
    <a class="next" rel="next" href="/archives/2018/page/2/">
      <span class="text">Next</span>
      <span class="icon icon-chevron-right"></span>
    </a>
    
  </nav>



      </div>

      <!-- 右侧边栏组件 -->
      <aside class='l_side'>
        
      </aside>

      <div class="gotop">
          
    <a href='javascript:void(0)'>
        <i class="icon icon-arrow_upward flat-box">
        </i>
    </a>

      </div>
      <script>setLoadingBarProgress(60);</script>
    </div>
  </div>
  <footer id="footer" class="clearfix">

	<div class="social-wrapper">
  	
      
        <a href="https://github.com/zqunor" class="social github"
          target="_blank" rel="external">
          <span class="icon icon-github"></span>
        </a>
      
        <a href="https://www.cnblogs.com/zqunor" class="social zhihu"
          target="_blank" rel="external">
          <span class="icon icon-zhihu"></span>
        </a>
      
        <a href="/atom.xml" class="social rss"
          target="_blank" rel="external">
          <span class="icon icon-rss"></span>
        </a>
      
    
  </div>
  <div>Theme <a href='https://github.com/stkevintan/hexo-theme-material-flow' class="codename">MaterialFlow</a>  Powered by<a href="https://blog.i2arch.tech/" target="_blank">程序小工</a>.</div>

</footer>

  <script>setLoadingBarProgress(80);</script>
  

    <script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src='//cdn.bootcss.com/node-waves/0.7.5/waves.min.js'></script>
    <script src="//cdn.bootcss.com/scrollReveal.js/3.3.2/scrollreveal.min.js"></script>
    <script src="/js/jquery.fitvids.js"></script>
      <script>
        var GOOGLE_CUSTOM_SEARCH_API_KEY = "";
        var GOOGLE_CUSTOM_SEARCH_ENGINE_ID = "";
        var ALGOLIA_API_KEY = "";
        var ALGOLIA_APP_ID = "";
        var ALGOLIA_INDEX_NAME = "";
        var AZURE_SERVICE_NAME = "";
        var AZURE_INDEX_NAME = "";
        var AZURE_QUERY_KEY = "";
        var BAIDU_API_ID = "fca5b83cf69f752ddc96a61ef64a3659";
        var SEARCH_SERVICE = "hexo";
        var ROOT = "/" || "/";
        if (!ROOT.endsWith('/')) ROOT += '/';
      </script>
      <script src="/js/search.js"></script>
        <script src="/js/app.js"></script>
  <script>setLoadingBarProgress(100);</script>
</body>
</html>
